package com.szl.yeb.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.szl.yeb.entity.Department;
import com.szl.yeb.common.PageResult;

import java.util.List;

/**
 * (Department)表服务接口
 *
 * @author szl
 * @since 2022-08-24 16:21:23
 */
public interface DepartmentService extends IService<Department> {

    PageResult getPage(Integer currentPage, Integer size, Department department);

    List<Department> getDepartmentsWithChildren();

    Integer addDepartment(Department department);

    Integer deleteDepartment(Integer did);
}

